package com.translation.dao;

import java.io.IOException;
import java.sql.PreparedStatement;
import java.sql.SQLException;

public interface Batch {

	void setParams(PreparedStatement st) throws SQLException, IOException;
	boolean result(int[] result, PreparedStatement st) throws SQLException, IOException;
	boolean next() throws SQLException, IOException;
	int getSize();
	void error(SQLException e);
}
